package com.demo2.dao;

import com.demo2.entity.ProductOrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductOrderItemMapper {
    @Select("select * from productorderitem where productorderitem_product_id = #{id}")
    List<ProductOrderItem> getProductOrderItem(Integer id);
}
